public class Example4_7 {
   public static void main(String args[]) {
      Battery nanfu = new Battery(100);
      System.out.println("ÄÏæÚµç³ØµÄ´¢µçÁ¿ÊÇ:"+nanfu.electricityAmount);
      Radio radio = new Radio();
      System.out.println("ÊÕÒô»ú¿ªÊ¼Ê¹ÓÃÄÏæÚµç³Ø");
      radio.openRadio(nanfu);
      System.out.println("Ä¿Ç°ÄÏæÚµç³ØµÄ´¢µçÁ¿ÊÇ:"+nanfu.electricityAmount);
   }
}

